<!DOCTYPE HTML>
<html>

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
  <title>优点达资讯-分享那些新鲜事</title>
  <link rel="stylesheet" href="../src/css/style.css" type="text/css" media="all" />
  <link rel="stylesheet" href="../src/fonts/css/font-awesome.min.css">
  <link rel="stylesheet" href="../src/layui/css/layui.css">
  <link rel="stylesheet" href="../src/css/user.css">
  <script type="text/javascript" src="../src/jquery.js"></script>
  <meta name="keywords" content="">
  <meta name="description" content="">
  <!--[if lt IE 9]><script src="static/js/html5.js"></script><![endif]-->
</head>

<body class="user blog search_not m-home-most ui-navtop">

  <!-- 头部开始 -->
  <header class="header">
    <div class="container">
      <h1 class="logo">
        <a href="/web-static/index.html" title="优点达资讯-分享那些新鲜事">
          <img src="../src/images/logo.png" alt="优点达资讯">优点达资讯
        </a>
      </h1>
      <ul class="nav">
        <li class="navmore"></li>
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category current-menu-item current_page_item">
          <a title="" href="/web-static/index.html"><span class="fa fa-home"></span>趣·首页</a>
        </li>
        <li  class="menu-item menu-item-type-taxonomy menu-item-object-category"><a href="../list.html"><span
              class="fa fa-bullhorn"></span>奇·趣事</a></li>
        <li  class="menu-item menu-item-type-taxonomy menu-item-object-category"><a href="../list.html"><span
              class="fa fa-bullhorn"></span>奇·趣事</a></li>
        <li  class="menu-item menu-item-type-taxonomy menu-item-object-category"><a href="../list.html"><span
              class="fa fa-bullhorn"></span>奇·趣事</a></li>
      </ul>
      <div class="slinks">
        <a href="login.html"><i class="fa fa-hand-o-right"></i>&nbsp;登录</a> |
        <a href="reg.html"><i class="fa fa-registered"></i>&nbsp;注册</a>
        <!-- <a href="user.html"><i class="fa fa-user"></i>&nbsp;用户中心</a> -->
      </div>
      <div class="slinks login-sy">
        <a href="javascript:;"><i class="layui-icon layui-icon-user" style="font-size: 20px; color: #1E9FFF;">
            <i id="user-name"></i></i>&nbsp;</a> |
        <a href="index.html"><i class="layui-icon layui-icon-logout"
            style="font-size: 20px; color: #1E9FFF;"></i>&nbsp;</a>
      </div>
      <!-- 移动端兼容 -->
      <a href="login.html" class="user"><i class="fa fa-user"></i></a>
      <!-- 点击该图标的时候判断是否登录了，决定是否进入用户中心，否则进入登录页 -->
    </div>
  </header>
  <!-- 头部结束 -->

  <!-- 主体内容 -->
  <section class="container">
    <div class="user-box">
      <div class="lt">
        <h3>用户中心</h3>
        <ul class="list-group">
          <li class="list-group-item"> <a href="user.html"><i class="fa fa-home"></i> 我的首页</a></li>
          <li class="list-group-item"> <a href="user-collect.html"><i class="fa fa-heart"></i> 我的收藏</a></li>
          <li class="list-group-item"> <a class="active" href="user-add.html"><i class="fa fa-plus"></i> 发布文章</a></li>
          <li class="list-group-item"> <a href="user-zan.html"><i class="fa fa-thumbs-up"></i> 我的点赞</a></li>
          <li class="list-group-item"> <a href="user-list.html"><i class="fa fa-tasks"></i> 我的文章</a></li>
        </ul>
      </div>
      <div class="rt">

        <!-- 发布文章 -->
        <div class="add-article">
          <div class="user-location">
            <a href="user.html"><i class="fa fa-home"></i>用户中心 </a> &gt;
            <span>编辑文章</span>
          </div>
          <form class="layui-form form-add" lay-filter="demo-val-filter">
            <div class="layui-form-item" style="width: 400px;">
              <label class="layui-form-label">文章标题：</label>
              <div class="layui-input-block">
                <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入"
                  class="layui-input">
              </div>
            </div>
            <div class="layui-form-item abb-ck">
              <label class="layui-form-label">
                文章分类：</label>
              <div class="layui-input-block">
                <select name="interest" lay-filter="aihao">
                  <option value=""></option>
                  <!-- <option value="0">写作</option>
                  <option value="1">阅读</option>
                  <option value="2">游戏</option>
                  <option value="3">音乐</option>
                  <option value="4">旅行</option> -->
                </select>
              </div>
            </div>
            <div class="layui-form-item add-w900">
              <label class="layui-form-label">文章标签：</label>
              <div class="layui-input-block" id="checkboxaaa">
                <input type="checkbox" name="like[write]" title="写作">
                <input type="checkbox" name="like[read]" title="阅读">
                <input type="checkbox" name="like[daze]" title="发呆">
              </div>
            </div>

            <div class="layui-form-item abb-ak">
              <label class="layui-form-label">文章标签：</label>
              <button type="button" class="layui-btn" id="ID-upload-demo-btn">
                <i class="layui-icon layui-icon-upload"></i> 图片上传
              </button>
              <div style="width: 230px;">
                <div class="layui-upload-list">
                  <img class="layui-upload-img abb-img" id="ID-upload-demo-img" style="width: 100%; height: 130px;">
                  <div id="ID-upload-demo-text"></div>
                </div>
              </div>
            </div>
            <div class="layui-form-item layui-form-text add-w900" style="display: flex;">
              <label class="layui-form-label" style="text-align: left;;">文章正文：</label>
              <div class="layui-input-block context" id="contentBox" style="width: 800px; margin-left:0">
              </div>
            </div>
            <div class="layui-form-item abb-ak">
              <div class="layui-input-block">
                <button type="submit" class="layui-btn btn-success" 
                  id="LAY-component-form-getval">发布</button>
                  <button type="submit" class="layui-btn btn-primary">草稿</button>
                <button type="reset" class="layui-btn layui-btn-primary btn-warning">取消</button>
              </div>
            </div>
          </form>
        </div>

      </div>
    </div>
  </section>
  <!-- 主体结束 -->

  <!-- 页脚开始 -->
  <footer class="footer">
    <div class="link">
      友情链接：
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a> <span>|</span>
      <a href="" title="百度">百度</a>
    </div>
    <p>&copy; 2021 <a href="http://blog.weknow.cn">优点达资讯,</a>
      &nbsp;&nbsp;联系邮箱：xxxx@163.com
      &nbsp;&nbsp; <a href="">备案号信息</a>
    </p>
  </footer>
  <!-- 页脚结束 -->

  <script src="../src/layui/layui.js"></script>
  <script type="text/javascript" src="../src/utils/wangEditor.js"></script>
  <script src="../src/axios.min.js"></script>
  <script src="../src/common.js"></script>
  <!-- <script src="../src/user-add.js"></script> -->
  <script src="../src/user-add-edit.js"></script>
</body>

</html>